import { vueRouter, miniRoutere, linuxRouter, pythonRouter, nodeRouter, selfRouter } from './router'



const nav = () => {
    return [
        { text: '🎨 vue', link: '/vue3/design', activeMatch: '/vue3/', },
        { text: '👾 小程序', link: '/mini/floor/01-项目介绍', activeMatch: '/mini/', },
        // {text: '🍑 Linux', link: '/linux/vim', activeMatch: '/linux/'},
        // {text: '🕷 Python', link: '/python/douban', activeMatch: '/python/'},
        // {text: '🍯 Node', link: '/node/messageService', activeMatch: '/node/'},
        { text: '😶‍🌫️ self', link: '/self/curriculum', activeMatch: '/self/' },
    ]
}


module.exports = {
    base: '/blog/',
    title: 'HeadEmpty',
    description: 'HeadEmpty的个人博客',
    head: [
        ['link', { rel: 'icon', href: './web.svg' }]
    ],
    themeConfig: {
        nav: nav(),
        // lastUpdated: true,

        sidebar: {
            '/vue3/': vueRouter(),
            '/mini/': miniRoutere(),
            '/linux/': linuxRouter(),
            '/python/': pythonRouter(),
            '/node/': nodeRouter(),
            '/self/': selfRouter(),
        },

        footer: {
            message: 'Released under the MIT License.',
            copyright: 'Copyright © 2023-present HeadEmpty'
        },
        // algolia: {
        // },
    },
    lastUpdated: false
}
